//
//  UserCenterViewController.h
//  Contacts
//
//  Created by 李 雷川 on 14-7-17.
//  Copyright (c) 2014年 李 雷川. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HFStretchableTableHeaderView.h"
@class Contact;
@interface UserCenterViewController : UIViewController{
    Contact *contact;
}
@property(nonatomic,strong)Contact *contact;
@property (nonatomic, strong) IBOutlet UIView* headerView;
@property (nonatomic, strong) IBOutlet UIImageView* headImageView;
@property (nonatomic, strong) IBOutlet UILabel* nameLabel;
@property (nonatomic, strong) IBOutlet UILabel* departmentLabel;
@property (nonatomic, strong) IBOutlet UILabel* positionLabel;
@property (nonatomic, strong) IBOutlet UIImageView* headerBgImageView;
@property (nonatomic, strong) IBOutlet UIButton *logoutBtn;
-(void)initWithContact:(Contact *)_contact;

-(IBAction)logout:(id)sender;

-(IBAction)changePhoto:(id)sender;
@end
